package com.mycinema.entity;

import java.util.Date;

public class Movie {
	
	/**
	 * 电影id
	 */
	private int id;
	/**
	 * 电影名称
	 */
	private String title;
	/**
	 * 电影识别码
	 */
	private String movieCode;
	/**
	 * 主演
	 */
	private String director;
	/**
	 * 上映时间
	 */
	private Date dateReleased;
	/**
	 * 电影分类
	 */
	private Category category;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getMovieCode() {
		return movieCode;
	}
	public void setMovieCode(String movieCode) {
		this.movieCode = movieCode;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public Date getDateReleased() {
		return dateReleased;
	}
	public void setDateReleased(Date dateReleased) {
		this.dateReleased = dateReleased;
	}
	public Category getCategory() {
		return category;
	}
	public void setCategory(Category category) {
		this.category = category;
	}
	
}
